package com.jtx.miaoah2;

import com.jtx.miaoah2.handler.UserTokenInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.retry.annotation.EnableRetry;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableRabbit
@MapperScan("com.jtx.miaosha2.Mapper")
@EnableScheduling
@EnableRetry(proxyTargetClass = true)
public class Miaosha2Application {

    public static void main(String[] args) {
        ConfigurableApplicationContext ioc = SpringApplication.run(Miaosha2Application.class, args);
    }

}
